﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;

namespace SCMS.Model
{
    [MetadataType(typeof(AssetMetaData))]
    public partial class Asset { }

    public class AssetMetaData
    {
        [Required]
        public object CurrentProjectDonorId { get; set; }
        [Required]
        public object DepreciationCurrencyId { get; set; }
        [Required]
        public object CurrentWareHouseId { get; set; }
        [Required]
        public object AssetNumber { get; set; }
        [Required]
        public object ItemId { get; set; }
        [Required]
        public object Name { get; set; }
        [Required]
        public object SerialNumber { get; set; }
        [Required]
        public object Lifespan { get; set; }
        [Required]
        public object Weight { get; set; }
        [Required]
        public object PurchaseValue { get; set; }
        [Required]
        public object PercentageDepr { get; set; }
        [Required]
        public object OpeningAccDepreciaiton { get; set; }
        [Required]
        public object AcquisionDate { get; set; }
    }
}
